<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      .p1{
      width: 180px;
      height: 54px;
      background-color: cyan;
      border-radius: 18px;
    }
    </style>
</head>
<body>
  <div id="main" style="width: 600px; height: 400px;"></div>
  <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3/dist/echarts.min.js"></script>
   <script>

    // Initialize the echarts instance
var chartDom = document.getElementById('main');
var myChart = echarts.init(chartDom);

// Chart options
var option = {
  title: {
    text: '2024 下半年 中国出口茶叶已售',
    subtext: '亿元',
    left: 'center'
  },
  tooltip: {
    trigger: 'item'
  },
  legend: {
    orient: 'vertical',
    left: 'left'
  },  
  series: [
    {
      name: 'Access From',
      type: 'pie',
      radius: '50%',
      data: [
        { value: 1048, name: '信阳毛尖' },
        { value: 735, name: '西湖龙井' }, 
        { value: 580, name: '红茶' },
        { value: 484, name: '绿茶' },
        { value: 300, name: '茉莉花茶' }
      ],
      emphasis: {
        itemStyle: {
          shadowBlur: 10,
          shadowOffsetX: 0,
          shadowColor: 'rgba(0, 0, 0, 0.5)'
        }
      }
    }
  ]
};

// Apply the options to the chart
myChart.setOption(option);

// Responsive behavior
window.addEventListener('resize', function() {
  myChart.resize();
});
 // 应用配置项
    chart.setOption(option);
     function  tui(){
         location.assign("./6.3.项目.html")
     }
   </script>

<button onclick="tui()" class="p1">退出</button>
</body>
</html>